|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.24 05:32:00 -
[1] - Quote
Fresh install of both SMF2 and TEA. So far, everything seems to be going smoothly until I try to add a rule and get the following:
Everything else works fine, but, it seems to think that the server goes down while I'm trying to submit the rule. Everything else on the server functions just fine, and this only occurs when I'm trying to set a rule.
Browser is Chrome; Same error occurs with testing in IE. Server is running Debian Linux x64, Apache2, PHP5
Any ideas? This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.24 19:52:00 -
[2] - Quote
Shin Chogan wrote:Can you get the error out of your apache error logs please ... this doesn't happen for me either on my "production" forums or the one I use for testing.
[Tue Sep 24 19:51:06 2013] [error] [client 205.250.184.170] PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/www/forum/Sources/TEA.php:1981\nStack trace:\n#0 /home/www/forum/Sources/TEA.php(1981): SimpleXMLElement->__construct('')\n#1 /home/www/forum/Sources/TEA.php(1630): TEA->settings_rules('http://blackwat...')\n#2 /home/www/forum/Sources/TEA.php(3417): TEA->Settings('http://blackwat...')\n#3 /home/www/forum/Sources/Admin.php(519): ModifyTEASettings()\n#4 [internal function]: AdminMain()\n#5 /home/www/forum/index.php(151): call_user_func('AdminMain')\n#6 {main}\n thrown in /home/www/forum/Sources/TEA.php on line 1981, referer: http://blackwatchsyndicate.com/forum/index.php?action=admin;area=tea;sa=rules;save This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.25 04:16:00 -
[3] - Quote
Shin Chogan wrote:Edit 2: Fundamentally though the problem is because you are not getting back XML from the API servers. Trouble is the TEA code isn't handling that very well.
That tells me WHAT the problem is, but, I have no idea how to fix it.
It also fails to accept my own API key.
This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.26 22:29:00 -
[4] - Quote
Shin Chogan wrote:This is not a fix ... the code will stop rather than give the error 500 but it will print some info that I need to see in order to tell what you are getting instead of expected XML
That dumped the following:
Quote:bool(false) object(Exception)#6 (7) { ["message":protected]=> string(33) "String could not be parsed as XML" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(31) "/home/www/forum/Sources/TEA.php" ["line":protected]=> int(1982) ["trace":"Exception":private]=> array(6) { [0]=> array(6) { ["file"]=> string(31) "/home/www/forum/Sources/TEA.php" ["line"]=> int(1982) ["function"]=> string(11) "__construct" ["class"]=> string(16) "SimpleXMLElement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(0) "" } } [1]=> array(6) { ["file"]=> string(31) "/home/www/forum/Sources/TEA.php" ["line"]=> int(1630) ["function"]=> string(14) "settings_rules" ["class"]=> string(3) "TEA" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(46) "http://blackwatchsyndicate.com/forum/index.php" } } [2]=> array(6) { ["file"]=> string(31) "/home/www/forum/Sources/TEA.php" ["line"]=> int(3425) ["function"]=> string(8) "Settings" ["class"]=> string(3) "TEA" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(46) "http://blackwatchsyndicate.com/forum/index.php" } } [3]=> array(4) { ["file"]=> string(33) "/home/www/forum/Sources/Admin.php" ["line"]=> int(519) ["function"]=> string(17) "ModifyTEASettings" ["args"]=> array(0) { } } [4]=> array(2) { ["function"]=> string(9) "AdminMain" ["args"]=> array(0) { } } [5]=> array(4) { ["file"]=> string(25) "/home/www/forum/index.php" ["line"]=> int(151) ["function"]=> string(14) "call_user_func" ["args"]=> array(1) { [0]=> &string(9) "AdminMain" } } } ["previous":"Exception":private]=> NULL } This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.27 10:24:00 -
[5] - Quote
Shin Chogan wrote:Again this is just more debug. Tell me what the result is. Depending on your browser and what is returned you may well need to view the page source to get the full content of what is returned.
All it returned was this:
That's even with looking at the page source.
And no, no other API related functions work.
An idea popped into my head. This server is freshly setup, I've never run anything else off of it. Is it possible that I missed a base pre-req? I can't think of anything that I missed... I got Apache2, PHP5, MySQL, curl, php5-mysql... I can't think of anything else that might be needed, but, did I possibly overlook something? This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.27 18:24:00 -
[6] - Quote
Shin Chogan wrote:You are missing php5-curl ... BUT the code "should" warn you of this. If it isn't then we have another bug :)
I've checked and it appears to be installed. On the possibility that there was something wrong with it, I removed it and reinstalled it and the same problem is occuring.
Any other pre-reqs that might be missing?
This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.28 00:22:00 -
[7] - Quote
Pings go through just fine. I tried telnet, but that failed. I would not be surprised if they have telnet blocked. How else might I test? This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.28 02:25:00 -
[8] - Quote
xHjfx wrote:Xornicon Altair wrote:Pings go through just fine. I tried telnet, but that failed. I would not be surprised if they have telnet blocked. How else might I test? Telnet to port 443?
Thanks. This worked flawlessly.
So yes, I can contact the server without issue. This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.30 09:35:00 -
[9] - Quote
Shin Chogan wrote:Xornicon Altair wrote:xHjfx wrote:Xornicon Altair wrote:Pings go through just fine. I tried telnet, but that failed. I would not be surprised if they have telnet blocked. How else might I test? Telnet to port 443? Thanks. This worked flawlessly. So yes, I can contact the server without issue. So you can connect to the api servers manually, you have php-curl installed but when it tries to make an API call you get nothing not even an error. Silly clutch at straw here ... you do have https://api.eveonline.com set in the server field at the bottom of the Tea setting page ?
Not such a straw. That, indeed, was the missing element! Many thank yous for your assistance! This is the song.... |

Xornicon Altair
Black Watch Syndicate
13
|
Posted - 2013.09.30 09:58:00 -
[10] - Quote
Shin Chogan wrote:Sweet ... Glad that fixed it coz I was out of ideas :)
Now it's time to figure out why that was missing in the first place. But, I guess that's up to you. I'm up and running and grateful for your help.
If you ever get into Amarr FW, look me up. I'd love to fly with you! This is the song.... |
|

Xornicon Altair
Black Watch Syndicate Vitoc Health Services
32
|
Posted - 2014.03.22 15:07:00 -
[11] - Quote
I've just removed r2 from my server and I'm trying to install r5. Everything is okay until it gets to the actual install page and most of the files have an error next to them in big bold red letters that says "Modification parse error". I've tried proceeding anyways and it fails to install, but there are no other errors on the board.
I've downloaded the most recent package available from the first post in this thread.
SMF Version 2.0.6 This is the song.... |

Xornicon Altair
Black Watch Syndicate Vitoc Health Services
32
|
Posted - 2014.03.22 16:07:00 -
[12] - Quote
Xornicon Altair wrote:I've just removed r2 from my server and I'm trying to install r5. Everything is okay until it gets to the actual install page and most of the files have an error next to them in big bold red letters that says "Modification parse error". I've tried proceeding anyways and it fails to install, but there are no other errors on the board.
I've downloaded the most recent package available from the first post in this thread.
SMF Version 2.0.6
Uploaded an image of what I'm talking about. This is what comes up when I'm trying to install the mod:
http://i.imgur.com/kQP5Vig.png This is the song.... |

Xornicon Altair
Black Watch Syndicate Vitoc Health Services
32
|
Posted - 2014.03.22 20:39:00 -
[13] - Quote
Shin Chogan wrote:Xornicon Altair wrote:Xornicon Altair wrote:I've just removed r2 from my server and I'm trying to install r5. Everything is okay until it gets to the actual install page and most of the files have an error next to them in big bold red letters that says "Modification parse error". I've tried proceeding anyways and it fails to install, but there are no other errors on the board.
I've downloaded the most recent package available from the first post in this thread.
SMF Version 2.0.6 Uploaded an image of what I'm talking about. This is what comes up when I'm trying to install the mod: http://i.imgur.com/kQP5Vig.png I've not seen that one before but a quick Google turned up this : Quote: It is essentially a matter of your host, for whatever reason the files couldn't be accessed by the package manager once unpacked. Usually that means there's some kind of permission issue with the files.
Solved it. For some reason, SMF couldn't parse the .tgz file that I downloaded from you link, so, I extracted it, re-compressed into a .zip and it went through without a problem. This is the song.... |

Xornicon Altair
Black Watch Syndicate Vitoc Health Services
32
|
Posted - 2014.03.22 21:14:00 -
[14] - Quote
Xornicon Altair wrote:Solved it. For some reason, SMF couldn't parse the .tgz file that I downloaded from you link, so, I extracted it, re-compressed into a .zip and it went through without a problem.
Or... I thought I had.
The package manager says that it's installed, but there's no admin, or profile, option for it anywhere in the menus.
If anyone has any ideas, let me know. I need to go out, so, I can't troubleshoot this right now. This is the song.... |
|
|
|